
// <copyright file="OnExceptionEventArgs.cs" company="Subhadra Software Solutions">
//   
// </copyright>
// <summary>
//   The on exception event args.
// </summary>

namespace SubhadraSolutions.Sharp.Utils
{
    using System;

    /// <summary>
    /// The on exception event args.
    /// </summary>
    public sealed class OnExceptionEventArgs : EventArgs
    {
        #region Constructors and Finalizers

        /// <summary>
        /// Initializes a new instance of the <see cref="OnExceptionEventArgs"/> class.
        /// </summary>
        /// <param name="exception">
        /// The exception.
        /// </param>
        public OnExceptionEventArgs(Exception exception)
        {
            this.Exception = exception;
        }

        #endregion Constructors and Finalizers

        #region Public Properties

        /// <summary>
        /// Gets the exception.
        /// </summary>
        public Exception Exception { get; private set; }

        #endregion Public Properties
    }
}
